<?xml version="1.0" encoding="UTF-8"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:mobiporter="urn:jsptld:/WEB-INF/tlds/adias.tld">
	
	<jsp:directive.page contentType="text/html; charset=utf-8" />
	<jsp:output doctype-root-element="html"
		doctype-public="-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
		doctype-system="http://www.openmobilealliance.org/DTD/xhtml-mobile10.dtd" />
	<html>
		<head>
			<style type="text/css">
				.header
				{
					color: blue; 
					font-size: large; 
				}
				
				.description
				{
					color: gray;
					font-size: smaller;
				}
				
				.properties
				{
					color : green ;
					font-size: smaller;
				}
			</style>
		</head>
		<body>
			<jsp:useBean id="testBean" class="com.mobiporter.adias.tests.TestBean" scope="request" />
			<mobiporter:header></mobiporter:header>
			<mobiporter:date id="testDate"></mobiporter:date>
			<br/>
			<mobiporter:selectBox page="index.jsp" selectedValue="3" id="selectBox" selectorUrl="change.jsp">
				<mobiporter:selectBoxOption name="one" value="1" />
				<mobiporter:selectBoxOption name="two" value="2" />
				<mobiporter:selectBoxOption name="three" value="3" />
			</mobiporter:selectBox>
			
			<mobiporter:picture imageSource="ixigo.gif" remoteImage="http://www.ixigo.com/img/" remoteRefresh="true" factor="0.5"  ></mobiporter:picture>
			<br/>
			<br/>
			<c:forEach items="${requestScope.testBean.detailUnits}" var="detail">
				<mobiporter:detail value="${detail}" propertiesClass="properties" headerClass="header" descriptionClass="description">
					<a href="book">book</a>
					<br/>
					<a href="details">details</a>
					<hr/>
				</mobiporter:detail>
			</c:forEach>
			<mobiporter:phoneLink number="9818018071"></mobiporter:phoneLink>
		</body>
	</html>
	<mobiporter:footer></mobiporter:footer>
</jsp:root>